package com.ruoyi.custom.dto;

import java.util.List;
import java.util.Objects;

public class SelectTreeDTO {


    private String label;

    private Long value;

    private boolean disabled;

    private List<SelectTreeDTO> children;

    public Long getValue() {
        return value;
    }

    public void setValue(Long value) {
        this.value = value;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public boolean isDisabled() {
        return disabled;
    }

    public void setDisabled(boolean disabled) {
        this.disabled = disabled;
    }

    public List<SelectTreeDTO> getChildren() {
        return children;
    }

    public void setChildren(List<SelectTreeDTO> children) {
        this.children = children;
    }

    @Override
    public String toString() {
        return "SelectTreeDTO{" +
                "value=" + value +
                ", label='" + label + '\'' +
                ", disabled=" + disabled +
                ", children=" + children +
                '}';
    }

}
